boot.loader.grub.users.<name>.hashedPasswordFile

Specifies the path to a file containing the password hash for the account, generated with grub-mkpasswd-pbkdf2. This hash will be stored in /boot/grub/grub.cfg, and will be visible to any local user who can read this file.

Type
null or string
Default
null
Example
"/path/to/file"
Declared
<nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix>